Package com.cisco.pt.impl
Class IPCErrorLTV
java.lang.Object
com.cisco.pt.impl.LTVImpl
com.cisco.pt.impl.IPCErrorLTV
- All Implemented Interfaces:
LTV
Encapsulates IPC response PTMP message
- Author:
- packettracerexapps@external.cisco.com
-
Field Summary
FieldsFields inherited from interface com.cisco.pt.LTV
AUTH_CHALLENGE_TYPE, AUTH_REQUEST_TYPE, AUTH_RESPONSE_TYPE, AUTH_STATUS_TYPE, DISCONNECT_MESSAGE_TYPE, IPC_ERROR_TYPE, IPC_EVENT_SUBSCRIPTION_TYPE, IPC_EVENT_TYPE, IPC_MESSAGE_TYPE, IPC_RESPONSE_TYPE, KEEP_ALIVE_MESSAGE_TYPE, MULTI_USER_MESSAGE_TYPE, NEGOTIATION_MESSAGE_TYPE, PTMP_TYPE_MUCONIN, PTMP_TYPE_MUCONOUT, PTMP_TYPE_MULINKUPDATE, PTMP_TYPE_MULINKUPDATESTATUS, PTMP_TYPE_MUNAMEUPDATE, PTMP_TYPE_MUNEGOREQ, PTMP_TYPE_MUNEGORESP, PTMP_TYPE_MUPDU, PTMP_TYPE_MUPORTADV, PTMP_TYPE_MUSAVENETREQ, PTMP_TYPE_MUSAVENETRESP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintMethods inherited from class com.cisco.pt.impl.LTVImpl
getLength, getNextMessageId, getType, getValue, hasResponse, isEvent, isMuMessage, isResponse, setLength, setType, setValue
-
Field Details
-
messageId
protected int messageId -
errorSource
-
errorMessage
-
-
Constructor Details
-
IPCErrorLTV
- Parameters:
messageId- iterrorSource- StringerrorMessage- String
-
-
Method Details
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceLTV- Overrides:
encodeTypeAndPayloadin classLTVImpl- Parameters:
buff- The EncodedBuffer that this object should encode itself into
-
getMessageId
public int getMessageId()- Specified by:
getMessageIdin interfaceLTV- Overrides:
getMessageIdin classLTVImpl- Returns:
- message id, used to match this message with its response from Packet Tracer its value is arbitrary unless (hasResponse() == true OR isResponse() == true)
-
getErrorMessage
- Returns:
String
-
getErrorSource
-